package com.example.routeplansystem.service;


import com.example.routeplansystem.entity.bo.SolutionExcelBO;
import com.example.routeplansystem.entity.dto.ResponseEntity;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface FinalSolutionService {

    void removeAllFinalSolutionByQuestionId(int questionId);

    /**
     * 将该问题结果用Excel导出
     * @param finalSolutionId
     * @return
     */
    ResponseEntity<String> resultExport(HttpServletRequest request, HttpServletResponse response, int finalSolutionId);


    Integer importFinalSolution(int i, Integer userId, Integer questionId, List<SolutionExcelBO> list);

    ResponseEntity<Integer> getFinalSolutionStatus(int finalSolutionId);
}
